<template>
  <div class="bb-bg">
    <div class="co-title">
      <div class="co-title-name">
        <img src="@/assets/cockpit/bb1-title.png" alt="">
      </div>
      <div class="co-title-right">
        <div class="co-title-breathe">
          <i></i><i></i><i></i><i></i><i></i><i></i>
        </div>
      </div>
    </div>
    <div class="bpl-container">
      <!-- <ul class="bb1-main">
        <li class="bb1-each" v-for="(item, index) in infoData.ziCans" :key="index">
          <div class="bb1-e-sup" v-show="item.type === 1">不动产统一登记</div>
          <div class="bb1-e-sup" v-show="item.type === 2">农村房地一体确权登记</div>
          <div class="bb1-e-sup" v-show="item.type === 3">自然资源确权登记</div>
          <div class="bb1-e-sub">
            <div class="bb1-eb-each">
              <h6>发证数量</h6>
              <p>{{ item.certificateQuantity }}<span>份</span></p>
            </div>
            <div class="bb1-eb-each">
              <h6>登记面积</h6>
              <p>{{ item.registerArea }}<span>公顷</span></p>
            </div>
          </div>
        </li>
      </ul> -->
      <ul class="bb1-main">
        <li class="bb1-each">
          <div class="bb1-e-sup">不动产统一登记</div>
          <div class="bb1-e-sub">
            <div class="bb1-eb-each">
              <h6>登簿总量</h6>
              <p>7559283<span>份</span></p>
            </div>
            <div class="bb1-eb-each">
              <h6>证书总量</h6>
              <p>3506898<span>份</span></p>
            </div>
          </div>
        </li>
        <li class="bb1-each">
          <div class="bb1-e-sup">农村宅基地使用权确权登记</div>
          <div class="bb1-e-sub">
            <div class="bb1-eb-each">
              <h6>应登记发证</h6>
              <p>675963<span>份</span></p>
            </div>
            <div class="bb1-eb-each">
              <h6>登记发证率</h6>
              <p>92.08<span>%</span></p>
            </div>
          </div>
        </li>
        <li class="bb1-each">
          <div class="bb1-e-sup">房地产办证信访问题化解</div>
          <div class="bb1-e-sub">
            <div class="bb1-eb-each">
              <h6>项目数量</h6>
              <p>262<span>个</span></p>
            </div>
            <div class="bb1-eb-each">
              <h6>已化解数量</h6>
              <p>241<span>个</span></p>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator'

@Component({
  name: 'BbItem1',
  components: {
  }
})
export default class BbItem1 extends Vue {
  @Prop({default: {}}) infoData!: any
  mounted() {}
}
</script>
<style lang="scss" scoped>
@import '~@/styles/cockpit.scss';
.bb-bg {
  width: 100%;
  height: 100%;
  padding: 16px 12px 12px;
  background: url('~@/assets/cockpit/bb-bg.png') no-repeat 0/ 100% 100%;
}
.bb1-main {
  width: 100%;
  .bb1-each {
    width: 100%;
    margin: 12px 0 0 0;
    &:first-child {
      margin-top: 0;
    }
    .bb1-e-sup {
      width: 100%;
      padding: 0 0 0 6px;
      background: url('~@/assets/cockpit/bpl3-e-title-bg.png') no-repeat right center/ 99% 8px;
      font-size: 14px;
      line-height: 20px;
      color: #fff;
      position: relative;
      z-index: 1;
      &::before {
        content: '';
        width: 26px;
        height: 32px;
        background: url('~@/assets/cockpit/bpl3-e-title-left.png') no-repeat 0/ 100% 100%;
        position: absolute;
        left: -12px;
        top: -6px;
      }
    }
    .bb1-e-sub {
      width: 100%;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      margin: 4px 0 0 0;
      .bb1-eb-each {
        flex: none;
        width: 49%;
        height: 22px;
        padding: 1px 8px 1px 22px;
        background: rgba(#fff, .05);
        position: relative;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        &::before {
          content: '';
          display: block;
          width: 4px;
          height: 4px;
          background: #F9F0D4;
          border-radius: 1px;
          box-shadow: 0 0 4px 1px #F0B04A;
          transform: rotate(45deg);
          position: absolute;
          top: 9px;
          left: 9px;
        }
        >h6 {
          flex: none;
          font-size: 12px !important;
          line-height: 18px;
          color: #BFFEFF;
          text-align: left;
          font-weight: 400;
        }
        >p {
          flex: none;
          font-size: 15px !important;
          line-height: 20px;
          color: #fff;
          text-align: left;
          font-weight: 400;
          >span {
            font-size: 12px !important;
            color: #fff;
            margin: 0 0 0 2px;
          }
        }
      }
    }
  }
}
</style>
